package com.pmcc.yn.repository;

import com.pmcc.yn.entity.NoticeInfo;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by chuxuyang on 2019/4/29.
 */
public interface NoticeInfoRepository extends JpaRepository<NoticeInfo,String> {

    Page<NoticeInfo> findAll(Specification<NoticeInfo> spec, Pageable var1);

    NoticeInfo findById(String id);

}
